/* pages/goodsdetail/index.wxss */
page {
  padding-bottom: 90rpx;
}

swiper {
  height: 35vh;
  text-align: center;
  image {
    width: 50%;
  }
}
.header {
  border-bottom: 8rpx solid rgb(231, 230, 230);
  .titlebox {
    display: flex;
    .title {
      flex: 5;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      margin-left: 20rpx;
    }
    .shou {
      display: flex;
      flex-direction: column;
      flex: 1;
      text-align: center;
      border-left: 2rpx solid gray;
      align-items: center;
      margin-right: 20rpx;
    }
  }
  .price {
    margin: 20rpx 0;
    margin-left: 20rpx;
    color: red;
  }
}
.protitle {
  height: 90rpx;
  line-height: 90rpx;
  text-indent: 20rpx;
  border-bottom: 8rpx solid rgb(231, 230, 230);
}
.btm_tool {
  border-top: 1rpx solid #ccc;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90rpx;
  background-color: #fff;
  display: flex;
  .tool_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24rpx;
    position: relative;
    button {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    }
  }
  .btn_cart {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffa500;
    color: #fff;
    font-size: 30rpx;
    font-weight: 600;
  }
  .btn_buy {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #eb4450;
    color: #fff;
    font-size: 30rpx;
    font-weight: 600;
  }
}
